﻿namespace FinalPointSet.Model.Constant
{
    public static class Config
    {
        public const string APP_Name = "FinalPointSet";
        public const string APP_Name_CN = "数仓工具箱";
        public const string SearchView = "SearchView";
        public const string MainView = "MainView";

        #region 窗体大小
        /// <summary>
        /// 设计时的屏幕宽度
        /// </summary>
        public const double DesignScreenWidth = 1920;
        /// <summary>
        /// 设计时的屏幕高度
        /// </summary>
        public const double DesignScreenHeight = 1020;
        /// <summary>
        /// 主页面设计宽度
        /// </summary>
        public const double MainWindowDesignWidth = 1440;
        /// <summary>
        /// 主页面设计高度
        /// </summary>
        public const double MainWindowDesignHeight = 810;
        /// <summary>
        /// 主页面最小缩放比例
        /// </summary>
        public const double MainWindowMinScaleRate = 0.85;
        /// <summary>
        /// 主页面导航栏展开的宽度
        /// </summary>
        public const double MainWindowNavBarExpandWidth = 200;
        /// <summary>
        /// 主页面导航栏收缩的宽度
        /// </summary>
        public const double MainWindowNavBarUnExpandWidth = 70;
        /// <summary>
        /// 搜索页面,关键词输入时的窗体高度
        /// </summary>
        public const int SearchWindow_KeywordSearching_Height = 62;
        /// <summary>
        /// 搜索页面,查看关键词详情的窗体高度
        /// </summary>
        public const int SearchWindow_KeywordDetail_Height = 587;
        /// <summary>
        /// 搜索页面设计宽度
        /// </summary>
        public const int SearchWindowDesignWidth = 1002;
        /// <summary>
        /// 搜索页面设计高度
        /// </summary>
        public const int SearchWindowDesignHeight = SearchWindow_KeywordDetail_Height;
        #endregion

        /// <summary>
        /// 显示搜索详情的动画时长
        /// </summary>
        public const float SearchWindow_ShowKeywordDetail_AnimationDuartion = 0.25f;
        /// <summary>
        /// 隐藏搜索详情的动画时长
        /// </summary>
        public const float SearchWindow_HideKeywordDetail_AnimationDuartion = 0.2f;
    }
}
